package com.api.gbhg.daizhishun.dao;

import com.api.gbhg.daizhishun.Vo.ExpenseAccountVo;
import com.api.gbhg.daizhishun.Vo.InDetailExpenseAccountVo;
import com.api.gbhg.daizhishun.Vo.NewDemandVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: daizhishun
 * @date: 2021/4/20
 **/
public  interface AccountingRoleDao {



    //根据workflowid查询表名
    public String gettablename(String workflowid);
    //根据requestid查询workflowid通用方法
    public String gettablenameByRequestid(Object requestid);





    //根据requestid查询相应的报销单，推送功能--将前端传的requestid进行判断，再保存到数据库中
    public boolean SelectCashierRole(List requestid) throws IOException;
    //出纳角色已支付，将状态改为1：已支付状态
    public boolean updateDetailsBylist(List requestid);





    //查询出纳角色流程，报销编号如果一致,报销编号里面的银行名称和银行账号一致
    public List<NewDemandVo> SelectTrainingReimbursementByList(Map map);



    //点击修改支付令，传入参数到接口
    public List<InDetailExpenseAccountVo> SelectTrainingReimbursementByA(Map map);
    //出纳角色更改支付令--报销详情
    public boolean updateExpenseAccountZfl(List<Map> list);



    /*
     *暂时流程中没有报销单的第三"会计核单"节点
     *YS23用款审批 ---formtable_main_43
     *YS24更正/退款 ---formtable_main_44
     *YS27借款申请 ---formtable_main_47
     *YS28还款流程 ---formtable_main_48
    //43
    public List<ExpenseAccountVo> SelectMoneyExamine();
    //44
    public List<ExpenseAccountVo> SelectCorrectRefund();
    //47
    public List<ExpenseAccountVo> SelectLoanApplication();
    //48
    public List<ExpenseAccountVo> SelectReimbursementProcess();*/



}
